<!--列表模板-->
<extend name='Public/_Main' />
<block name='right'>

    <include file='Public/_datetime' /> {:getTables($mid,$array,$where,0,$rollback)}

    <!-- Modal -->
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-hidden="true" mid='{$mid}'>
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">{$FormConfig.title}</h4>
                </div>
                <div class="modal-body">
                    <form class="require" action="{$FormConfig.url}" method="post">
                        {$form}
                        <br/>
                        <br/>
                        <div class='col-xs-6'>
                            <button class="btn btn-lg btn-primary btn-block" type="submit">保存</button>
                        </div>
                        <div class='col-xs-6'>
                            <button class="btn btn-lg btn-default btn-block" type="button" data-dismiss="modal">关闭</button>
                        </div>
                    </form>
                    <br/>
                    <br/>
                    <br/>
                </div>
            </div>
        </div>
    </div>
    <!--end Modal-->
</block>
